﻿// <copyright file="LogicalExpressionTokenType.cs" company="http://www.dymetis.com">
//
// Copyright (c) 2011 Eddie Z. Lin.
//
// This source is subject to the Microsoft Public License.
// See http://www.opensource.org/licenses/ms-pl.
// All other rights reserved.
// 
// </copyright>

namespace Dymetis.Expressions
{
    internal enum LogicalExpressionTokenType : byte
    {
        LiteralInteger = 0,
        LiteralString = 1,
        LiteralDecimal = 2,

        ConstantNull = 3,
        ConstantToday = 4,

        OperatorOr = 5,
        OperatorAnd = 6,
        OperatorNot = 7,

        OperatorLessThan = 8,
        OperatorGreaterThan = 9,
        OperatorLessThanEqual = 10,
        OperatorGreaterThanEqual = 11,
        OperatorEqual = 12,
        OperatorNotEqual = 13,

        OperatorUnder = 14,
        OperatorMatch = 15,
        OperatorLike = 16,
        OperatorAdd = 17,
        OperatorSubtract = 18,

        OperatorDate = 21,
        ParenthesisLeft = 19,
        ParenthesisRight = 20,
        VariableIndicator = 22
    }
}
